Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: developaul-ts solution added #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

developaul
Copy link

Sharing my solution using TDD approach

image

I have the following questions:

What is recommended: hardcoding values/singletons again in the tests or reusing the values/singletons from production code?

  • This is causing me a lot of concern, as I understood that it's a bad practice to reuse constants/singletons used in production code in the tests.

  • I am saying this because, if you notice, I am repeating the pricing and it makes a lot of noise for me :(

image

@developaul
Copy link
Author

@JavierCane @rgomezcasas Could you please review my PR when you have a moment? Thank you! 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant